/**
 * IMonitorWorkBenchService.java
 * Created at 2017-3-22
 * Created by xieshuang
 * Copyright (C) 2017 BROADTEXT SOFTWARE, All rights reserved.
 */
package com.broadtext.rms.monitor.service;

import java.util.List;
import java.util.Map;

import com.broadtext.common.exp.DaoException;
import com.broadtext.common.service.IEntityService;
import com.broadtext.rms.monitor.model.PackAlertView;
import com.broadtext.rms.monitor.model.PackLocationInfo;
import com.broadtext.rms.monitor.model.PlantPackTree;
import com.broadtext.rms.monitor.model.TtPackAlert;

/**
 * <p>ClassName: IMonitorWorkBenchService</p>
 * <p>Description: 监控员控制台服务接口层</p>
 * <p>Author: xieshuang</p>
 * <p>Date: 2017-3-22</p>
 */
public interface IMonitorWorkBenchService extends IEntityService<TtPackAlert> {

    /**
     * 
     * <p>Description: 获取客户下电池告警信息</p>
     * @param pkId 主键id
     * @return 结果集
     * @throws DaoException 异常
     */
    Map<String, Object> findCustomPackAlertInfo(String pkId) throws DaoException;

    /**
     * 
     * <p>Description: 获取报警列表list</p>
     * @param map 查询条件
     * @return 结果集
     * @throws DaoException 异常
     */
    List<PackAlertView> findPackAlertInfoList(Map<String, Object> map) throws DaoException;

    /**
     * 
     * <p>Description: 获取客户下厂区电池树</p>
     * @param id 客户id
     * @return 结果集
     * @throws DaoException 异常
     */
    List<PlantPackTree> findPlantPackTreeByCustomer(String id) throws DaoException;

    /**
     * 
     * <p>Description: 查询监控电池位置信息</p>
     * @param queryMap 查询条件
     * @return 结果集
     * @throws DaoException 异常
     */
    List<PackLocationInfo> findPackLocationInfo(Map<String, Object> queryMap) throws DaoException;

    /**
     * 
     * <p>Description: 获取报警类型list</p>
     * @param sqlId sqlId
     * @return 结果集
     * @throws DaoException 异常
     */
	List<Map<String, String>> getAlertNameList(String sqlId) throws DaoException;

	/**
	 * 
	 * <p>Description: 获取概览页面所需数据</p>
	 * @return 结果集
	 * @throws DaoException 异常
	 */
	Map<String, Object> getOverviewData() throws DaoException;
	
	Map<String, Object> getAlertClassifyBarChartData() throws DaoException;
	
	Map<String, Object> getPowerOnDistributeData() throws DaoException;
	
	Map<String, Object> getMaterialTypeData() throws DaoException;
	
	Map<String, Object> getPackModelData() throws DaoException;
	
	Map<String, Object> getAppticationData() throws DaoException;
	
	Map<String, Object> getAppticationDetailData() throws DaoException;
	
	
	

}
